package com.ycz.entity;/*
 @author ycz
 @date 2021-11-20-14:16
*/

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Component
public class PageEntity {
    /*
    List 集合
     */
    private Object data;
    /*
    page
     */
    private Integer page;

    /*
    limit
     */
    private Integer limit;

    /*
    hasNextPage
     */
    private Boolean hasNextPage;

}
